<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>欢迎访问产品运营互动中心！</title>
<%@ include file="/commons/include/head-meta.inc.jsp"%>
<script type="text/javascript" src="<s:url value="/script/sysOper.js"/>"></script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<s:form action="/bpm/processConfig.action" method="post">
<table width="980" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
			<table width="100%" border="0" cellpadding="0" cellspacing="0"
				background="<s:url value="/images/new/gxzl_index_2.gif"/>">
				<tr>
					<td width="20" height="32">&nbsp;</td>
					<td width="20"><img
						src="<s:url value="/images/new/dq_dot.gif"/>" width="15"
						height="12" /></td>
					<td>当前位置：流程配置</td>
					<td width="60">流程搜索</td>
					<td width="200"><input name="conds.name" type="text"
						style="width: 99%" value="${conds.name}" onFocus="this.value=''" /></td>
					<td width="100"><input type="submit" name="Submit" value="搜索" /></td>
				</tr>
			</table>
			</td>
		</tr>
  <tr> 
    <td  background="<s:url value="/images/home_4a.gif"/>"> 
      <table width="100%" height="400" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
        <tr>
          <td width="240" valign="top" class="leftbg">
			<%@ include file="/commons/include/bpm_left.inc"%>  
		  </td>
          <td valign="top">
					<table width="98%" align="center" border="0" cellspacing="0" cellpadding="0" >
						<br/>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab1.gif"/>" width="5" height="5" /></td>
										<td class="tdborderup"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab2.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td  class="tdborderleftright">
							<TABLE width="98%" cellSpacing=1 cellPadding=0 align="center">
								<TR height=30>
									<TD align=left width="10%">
				             <input type="button" name="new" value="新 增" onClick="location.href='editProcessConfig.action'">
				             <input type="button" name="remove" onclick="if(!confirm('您正要删除流程配置信息，是否确认删除？'))return false;forms[0].action='batchDelProcessConfig.action';forms[0].submit();" value="删 除">
									</TD>
								</TR>
							</table>
							<input type="hidden" name="pageControl.usePage" value="${pageControl.usePage}"/>
							<input type="hidden" name="pageControl.pageNo" value="${pageControl.pageNo}"/>
							<input type="hidden" name="pageControl.totalPage" value="${pageControl.totalPage}"/>
							<input type="hidden" name="pageControl.pageSize" value="${pageControl.pageSize}"/>
							<table width="98%" border="0" cellspacing="0" cellpadding="7"
								align="center" class=tablecolor2>
								<tr>	
									<td colspan="8" align="right">
									<s:if test="pageControl.useFrontPage">
										<a href="#" onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo-1};submit();">上一页</a>
									</s:if>	
									<s:if test="pageControl.useNextPage">								
   									<a href="#" onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo+1};submit();">下一页</a>
									</s:if>
							    	第${pageControl.pageNo}页  共${pageControl.totalPage}页  总${pageControl.total}条记录 每页${pageControl.pageSize}条记录</td>
								</tr>
								<tr>
									<td bgcolor="9AC2EB" width="60px">
									<div align="center"><font color="#FFFFFF">选择<label
										id="labSel" onclick="javascript:selAll('dCancel','dAll','ids');" style="cursor:hand">
										<div id="dAll">[全选]</div><div id="dCancel" style="display:none">[取消]</div></label></font></div>
									</td>
									<td bgcolor="9AC2EB" width="">
									<div align="center"><font color="#FFFFFF">流程配置名称 </font></div>
									</td>
									<td bgcolor="9AC2EB" width="60px">
									
									<div align="center"><font color="#FFFFFF">创建人</font>
									</div>
									<td bgcolor="9AC2EB">
									<div align="center"><font color="#FFFFFF">操作</font>
									</div>
									</td>
								</tr>
							<s:iterator value="pageControl.results">
								<tr>
									<td >
									<div align="center"><input type="checkbox"
										name="ids" value="<s:property value="id" />"></div>
									</td>
									<td>
									<div align="center"><s:property value="name" /></div>
									</td>                              
									<td>
									<div align="center"><s:property value="creator" /></div>
									</td>
									<td>
									<div align="center">
										<a href="editProcessConfig.action?processConfig.id=${id}">编辑</a>
										<a href="delProcessConfig.action?processConfig.id=${id}" onclick="return confirm('您正要删除流程配置，是否确认删除？');">删除</a>
										<a href="flowTaskCommon_printGraph.action?processId=${id}" target="_blank">轨迹</a>
									</div>
									</td>
								</tr>
							</s:iterator>
								<tr>
									<td colspan="8" align="right">
									<s:if test="pageControl.useFrontPage">
										<a href="#" onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo-1};submit();">上一页</a>
									</s:if>	
									<s:if test="pageControl.useNextPage">								
   									<a href="#" onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo+1};submit();">下一页</a>
									</s:if>
									 第${pageControl.pageNo}页  共${pageControl.totalPage}页  总${pageControl.total}条记录 每页${pageControl.pageSize}条记录</td>
								</tr>
							</table>
							</td>
						</tr>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab3.gif"/>" width="5" height="5" /></td>
										<td class="tdborderbottom"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab4.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</s:form> 
</body>
</html>
